<!doctype html>
<html lang="en">
{#{% load filters %}#}
{% load staticfiles %}
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>SHOW BOOKS</title>
</head>
<body>
<a href="/books/create">新增</a>
<div>图书信息如下:</div>
<ul>
  {% for book in books %}
    <Li>
      <a href="/books/{{ book.id }}">{{ book.btitle }}</a>&nbsp;&nbsp;&nbsp;
      <a href="{% url 'booktest:book_delete' book.id %}">删除</a>
      <span>{{ book.bpub_date|date:'Y-m-j' }}</span>
    </Li>
  {% endfor %}
</ul>
<img src="/static/images/docker.jpg" alt="">
<img src="{% static 'images/docker.jpg' %}" alt="">
{#<img src="{{ ALI_MEDIA_URL }}h.jpg" alt="">#}
{#<img src="http://rainhowchan.oss-cn-shanghai.aliyuncs.com/media/h.jpg" alt="">#}
{{ ALI_MEDIA_URL }}
</body>
</html>